package com.kingdee.eas.qx;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class DbMessageFactory
{
    private DbMessageFactory()
    {
    }
    public static com.kingdee.eas.qx.IDbMessage getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.qx.IDbMessage)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("8E02FBBA") ,com.kingdee.eas.qx.IDbMessage.class);
    }
    
    public static com.kingdee.eas.qx.IDbMessage getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.qx.IDbMessage)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("8E02FBBA") ,com.kingdee.eas.qx.IDbMessage.class, objectCtx);
    }
    public static com.kingdee.eas.qx.IDbMessage getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.qx.IDbMessage)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("8E02FBBA"));
    }
    public static com.kingdee.eas.qx.IDbMessage getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.qx.IDbMessage)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("8E02FBBA"));
    }
}